@echo off
if "%1"=="" goto error

echo Compiling %1...
call _env.bat

set ERLCOPT=+debug_info
rem set ERLCOPT=

erlc %ERLCOPT% %1

goto end

:error
echo Batch file to compile single Erlang file
echo Pass file name as only parameter

:end
